<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<title>云算盘</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- 默认使用Google Chrome Frame进行渲染，如果没有安装gcf则使用IE的最新内核来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<link href="${ctx}/css/base.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/css/all.css"  type="text/css" rel="stylesheet"/>
<link href="${ctx}/css/hnfpDialog.css" type="text/css" rel="stylesheet" />

<link href="${ctx }/component/myPagination/js/msgbox/msgbox.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/component/myPagination/js/myPagination/page.css" rel="stylesheet" type="text/css" />
<script src="${ctx}/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<!-- 前端框架核心库加载放在 -->
<script src="${ctx}/js/lib/core.js" type="text/javascript"></script>
<script src="${ctx}/js/component/modal.js" type="text/javascript"></script>
<script src="${ctx}/js/accordion.js" type="text/javascript"></script>
<script src="${ctx}/js/all.js" type="text/javascript"></script>
<script src="${ctx}/js/page/utils.js" type="text/javascript"></script>
<script src="${ctx}/js/select.js" type="text/javascript"></script>

<script src="${ctx }/component/myPagination/js/myPagination/jquery.myPagination6.0.js" type="text/javascript"></script>
<script src="${ctx }/component/myPagination/js/msgbox/msgbox.js" language="javascript" type="text/javascript"></script>

<script src="${ctx}/component/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

<!-- 新增add操作  校检规则 -->
<script src="${ctx}/js/lib/jquery-ui.custom.js" type="text/javascript"></script>


<link rel="stylesheet" type="text/css" href="${ctx}/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/lib/Hui-iconfont/1.0.8/iconfont.css" />

<!-- 模块化框架配置 -->
<script type="text/javascript">
	
	//初始化获取当前页面名称
	var wname = window.name;

    // seajs 的简单配置
    seajs.config({
        base: "${ctx}/js",
        alias: {

        }
    });
    $(document).ready(function(){
    	//ajax请求添加等待图片
    	$(document).ajaxStart(function() {
    		ZENG.msgbox.show(" 正在加载中，请稍后...", 60,80000);
    	});
    	
    	$(document).ajaxComplete(function() {
    		ZENG.msgbox.hide();
    	});
    }); 
    
  //页面格式化显示数据
    function dataFormatter(dateStr,value){
    	//判断传入参数是否为空 
    	if(dateStr != null && value != null){
    		//去掉dateStr中头尾的大括号"{"和"}" 
    		var newDateStr = dateStr.substring(1,dateStr.length-1);
    		//通过逗号分隔成每一个键值对字符算数组
    		var strArry = newDateStr.split(",");
    		//对传进来进行匹配的value值进行去空处理
    		var newData = $.trim(value);
    		//遍历字符算数组
    		for(var i=0;i<strArry.length;i++){
    			//筛选出包含有value值的元素
    			if(strArry[i].indexOf(newData)>=0){
    				//对筛选的元素按等号分隔,取第二个元素值
    				var resultArry = strArry[i].split("=");
    				return resultArry[1];
    			}
    		}
    	}
	}
    
</script>